class RequestException implements Exception {
  int? code;
  String? msg;
  dynamic data;
  RequestException({this.code, this.msg, this.data});

  @override
  String toString() {
    return 'error: $code, msg: $msg';
  }
}
